package com.ljk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ljk.domain.entity.Menu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


@Mapper
public interface MenuMapper extends BaseMapper<Menu> {


    List<String> selectPermsByUserId(Long id);

    List<Menu> selectAllMenu();

    List<Menu> selectRouterMenuByUserId(Long userId);

    List<Menu> selectRouterMenuByRoleId(Long id);
}
